package com.zyj.benchmark.util;

import java.lang.management.ManagementFactory;

public class ProcessUtil {
    public static void printProcessID(String name) {
        System.out.println();
        System.out.println("------------------------------------------");
        System.out.println(name + " pid is :" + ManagementFactory.getRuntimeMXBean().getName());
        System.out.println("------------------------------------------");
        System.out.println();
    }
}
